
        <div id="cate_club" class="box_width_common">
            <div class="box_content_common">
                <div class="content_box_doibong_cauthu">
                    <div class="box_doibong_cauthu">
                        <?php
                        if (!empty ($this->arrTeamEuro))
                        {

                            foreach ($this->arrTeamEuro as $key => $teamGroup)
                            {
                                $tablename = explode('-', $key);
                        ?>
                            <p class="top_name_doibong"><span>Bảng</span><span class="name_bang"><?php echo ucwords($tablename[1]); ?></span></p>
                            <?php
                            if (!empty($teamGroup['Team']))
                            {
                            ?>
                                <ul class="tabs_doibong">
                                <?php
                                    foreach ($teamGroup['Team'] as $team)
                                    {
                                ?>
                                        <li>
                                            <div class="title_items_cauthu">
                                                <a href="#" class="txt_black_hover_blue left" title="<?php echo $team['name']; ?>">
                                                    <img src="<?php echo $this->config['photo'].'/'.  $team['logo']; ?>" title="<?php echo $team['name']; ?>" alt="<?php echo $team['name']; ?>" onerror="this.src='<?php echo $this->config['photo'].'/notfound.jpg'; ?>'" width="38" height="24"  />
                                                    <b><?php echo $team['name']; ?></b>
                                                </a>
                                                <a href="javascript:;" class="right" title="<?php echo $team['name']; ?>">
                                                    <span class="btn_show_hide" rel="<?php echo $team['team_id']; ?>">&nbsp;</span>
                                                </a>
                                            </div>
                                            <div class="list_cauthu_vitri" id="list_cauthu_vitri_<?php echo $team['team_id']; ?>" style="display: none;">
                                            </div>
                                        </li>
                                    <?php
                                    }
                                    ?>
                                </ul>
                                
                                <?php
                                }
                                ?>
                            <div class="clear">&nbsp;</div>
                        <?php
                            }
                        }
                        ?>
                    </div>
                    
                </div>
            </div>
        </div>
    
<script language="javascript" type="text/javascript">
    $(function(){
		$('.btn_show_hide').click(
			function(){
                                
				var contentCapdau = $(this).parent().parent().parent().find('.list_cauthu_vitri');
                                
				if(contentCapdau.css('display') == 'block'){
					$('.tabs_doibong .list_cauthu_vitri').slideUp();
					
				}
				if(contentCapdau.css('display') == 'none'){                                    
                                        var team_id = $(this).attr('rel');
                                        if(!$.trim(contentCapdau.html()))
                                        {
                                            var url = '<?php echo BASE_URL .'/doi-bong-cau-thu/playerofteam'; ?>'
                                            $.ajax({
                                                type:'get',
                                                data:{team_id:team_id},
                                                url : url,
                                                success:function(data){
                                                    $('#list_cauthu_vitri_'+team_id).html(data);
                                                }
                                            });
                                        }                                        
					$('.tabs_doibong .list_cauthu_vitri').slideUp();
					contentCapdau.slideDown();				
				}
			}

		)
    });

    
</script>
